package red.uec.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 短信发送记录表
 * </p>
 *
 * @author 谭剑晖
 * @since 2018-08-22
 */
public class ShortMessageLog implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;
    /**
     * 手机号
     */
    private String mobile;
    /**
     * 短信类型 1-短信验证码
     */
    private String type;
    /**
     * 短信内容
     */
    private String content;
    /**
     * 状态 0-待发送 1-发送成功 2-发送失败
     */
    private String status;
    /**
     * 发送失败原因
     */
    private String failReason;
    /**
     * 创建人
     */
    private String creator;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 修改人
     */
    private String modifier;
    /**
     * 修改时间
     */
    private Date modifyTime;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getFailReason() {
        return failReason;
    }

    public void setFailReason(String failReason) {
        this.failReason = failReason;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    @Override
    public String toString() {
        return "ShortMessageLog{" +
        ", id=" + id +
        ", mobile=" + mobile +
        ", type=" + type +
        ", content=" + content +
        ", status=" + status +
        ", failReason=" + failReason +
        ", creator=" + creator +
        ", createTime=" + createTime +
        ", modifier=" + modifier +
        ", modifyTime=" + modifyTime +
        "}";
    }
}
